net/http.http2dataBuffer.chunks (field)
17 uses
net/http (current package)
h2_bundle.go#L1087: chunks [][]byte
h2_bundle.go#L1111: if b.r == len(b.chunks[0]) {
h2_bundle.go#L1112: http2putDataBufferChunk(b.chunks[0])
h2_bundle.go#L1113: end := len(b.chunks) - 1
h2_bundle.go#L1114: copy(b.chunks[:end], b.chunks[1:])
h2_bundle.go#L1115: b.chunks[end] = nil
h2_bundle.go#L1116: b.chunks = b.chunks[:end]
h2_bundle.go#L1124: if len(b.chunks) == 1 {
h2_bundle.go#L1125: return b.chunks[0][b.r:b.w]
h2_bundle.go#L1127: return b.chunks[0][b.r:]
h2_bundle.go#L1157: if len(b.chunks) != 0 {
h2_bundle.go#L1158: last := b.chunks[len(b.chunks)-1]
h2_bundle.go#L1164: b.chunks = append(b.chunks, chunk)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |